package cn.join.ideer.common.vo;

import lombok.*;

import javax.validation.Valid;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author shinyiqi
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class RequestVo<T> implements Serializable {
    @NotBlank(message = "时间戳不能为空")
    private String timeStamp;
    @NotBlank(message = "nonce不能为空")
    private String nonce;
    private T data;
    private String paramsStr;
    private String sign;
    private String androidId;
    private String deviceId;
    private String version;
    private String versionName;
    /**
     * 0:android
     * 1:ios
     * 2:web
     */
    private int platform;
    /**
     * 0:android 1:ios
     */
    private int os;
    private int channel;
    private Integer pageNo=1;
    private Integer pageSize = 10;
}
